home *** CD-ROM | disk | FTP | other *** search
- property pSprite, spriteNum
- global gBet
-
- on beginSprite me
- pSprite = sprite(spriteNum)
- if gBet.pCreditBalance > 3 then
- puppetSound(4, "win")
- pSprite.member.text = "Credit Balance:" & "$" & string(gBet.pCreditBalance) & ".00"
- else
- if (gBet.pCreditBalance <= 3) and (gBet.pCreditBalance > 0) then
- puppetSound(4, "lose")
- pSprite.member.text = "not enough credits!"
- else
- puppetSound(4, "lose")
- pSprite.member.text = "give it another try!"
- end if
- end if
- end
-